package com.ocom.common.request.payconfig.xfwalletinfo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SetConsAllWalletRequest {

    @JsonProperty("comId")
    @Min(1L)
    @NotNull(message = "comId 不能为空")
    private Long comId;
    @NotNull(message = "walletNo 不能为空")
    private Integer walletNo;
    @NotNull(message = "state 不能为空")
    private Integer state;
    @NotBlank(message = "walletName 不能为空")
    private String walletName;
    private Integer allowed;
    private String remark;
}
